﻿@model GoDive.App.DestViewModel

@{
    ViewBag.Title = "潜啊：一个专做潜水的自由社区";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section footer{
}
@{
    object destID = ViewContext.RouteData.Values["id"];
}
@Html.Partial("~/Views/Dest/detailShared.cshtml")
<div class="plcMenuBarHolder" id="tabs">
    <div class="plcMenuBars">
        <div class="plcMenuBar countryBar">
            <ul class="plcMenuBarList fontYaHei">
                <li class="jieshao current"><a href="/dest/detail/@destID"><i class="icon"></i>潜点介绍</a></li>
                <li class="daoda"><a href="/dest/traffic/@destID"><i class="icon"></i>到达方式</a></li>
                <li class="gonglve"><a href="/dest/article/@destID"><i class="icon"></i>潜水攻略</a></li>
                <li class="dianping"><a href="/dest/comment/@destID"><i class="icon"></i>点评</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="qd-wrap" id="modules">
    <div class="qd">
        <div class="title">
            <h2>潜点介绍</h2>
        </div>
        <ul>
            @{
                foreach (var item in Model.DestinationDiveSites)
                {
            <li>
                <div class="item-title">
                    <h3>@item.Name @item.EnName</h3>
                </div>
                <div class="sub">
                    @foreach (var site in item.DiveSites)
                            {
                    <div class="item">
                        <h4>@site.Name @site.EnName</h4>
                        <p>@site.Summary</p>
                        <div class="pics">
                            <img src="http://120.24.102.165/@{@site.Pic}" alt="">
                        </div>
                    </div>
                            }
                </div>
            </li>
                }
            }
        </ul>
    </div>
</div>
